#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
配置文件 - QWen2.5-vl API设置
"""

import os

# QWen2.5-vl API配置
QWEN_API_KEY = os.getenv('QWEN_API_KEY', 'sk-4ed79c6c08ac4bbe82984153021533f6')
QWEN_API_BASE = os.getenv('QWEN_API_BASE', 'https://dashscope.aliyuncs.com/compatible-mode/v1')

# PDF处理配置
PDF_DIR = "/Users/hutao/Desktop/8.22/"
MAX_FILES = 3  # 调试时处理的最大文件数
TARGET_COMPLETE_COUNT = 200  # 目标完整信息数量

# 视觉检测配置
USE_VISION_DETECTION = True
CONFIDENCE_THRESHOLD = 0.3
IOU_THRESHOLD = 0.45

# 日志配置
LOG_LEVEL = "INFO"
LOG_FORMAT = "%(asctime)s - %(levelname)s - %(message)s"
